import instance from "@/utils/request"

// 获取审批列表
export function getApprovalList(page) {
    return instance.get(`/user/process/instance/${page}/10`)
}

// 获取审批详情
export function getApprovalDetail(id) {
    console.log(id);
    return instance.get(`/user/process/instance/${id}`)
}

// 获取数据流
export function getDataFlow(id) {
    return instance.get(`/user/process/instance/tasks/detail/${id}`)
}